package com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.Document;
import com.entity.base.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface DocumentService extends IService<Document> {

    List<Document> treeList();

    List<Document> getChilde(Long id, List<Document> rootList);

    public void remakeDocument();

    public boolean deleteFolder(String sPath);

    public Result uploadFile(MultipartFile avatorFile, Document document);
}
